#include "ilightsource.h"

ILightSource::ILightSource()
{
}

void ILightSource::set_ambient(const CgColor &ambient)
{
    intensities_.set_ambient(ambient);
}

void ILightSource::set_diffuse(const CgColor &diffuse)
{
    intensities_.set_diffuse(diffuse);
}

void ILightSource::set_specular(const CgColor &specular)
{
    intensities_.set_specular(specular);
}

CgColor ILightSource::ambient() const
{
    return intensities_.ambient();
}

CgColor ILightSource::diffuse() const
{
    return intensities_.diffuse();
}

CgColor ILightSource::specular() const
{
    return intensities_.specular();
}
